Date Sheet for {{ rr.psdid }} at {{ event }}
<p>
Comments: {{ rr.comments }}
<br>
Referral: {{ rr.referral }}
<br>
Notes: {{ rr.notes }}
<br>
{{ rr.psdid }} is {{ rr.geekCode|safe }}
<hr>

{% if not cformset.is_valid %}
<!--<h3>Errors</h3>

{% for field in cformset.forms.0 %}
  {% if field.errors %}
    <strong>{{ field.label }} #1:</strong> {{ field.errors }}
  {% endif %}
{% endfor %}

{% for field in cformset.forms.1 %}
  {% if field.errors %}
    <strong>{{ field.label }} #2:</strong> {{ field.errors }}
  {% endif %}
{% endfor %}

{% for field in cformset.forms.2 %}
  {% if field.errors %}
    <strong>{{ field.label }} #3:</strong> {{ field.errors }}
  {% endif %}
{% endfor %}
-->
{% endif %}


<form name="datesheet" method="post" action="">

<table>
<tr>
<td>Round</td><td>PSDID</td><td>Friend?</td><td>Table_Name</td><td>Checked Yes</td><td>Comments</td>
</tr>


{% for d in dates %}
<tr>

<td>&nbsp;</td>
<td>{{ d.round }}</td>
<td align="right">{{ d.other_psdid }} </td>
<td align="left">
{% if d.friend_date %}
(F)
{%endif%}
</td>
<td align="right"> 
{{ d.table }}
</td>
<td>
<input name="yes" type="checkbox" value="{{ d.other_psdid }}" {% if d.said_yes %}CHECKED {%endif%}>
</td>
<!--<td>
<small>
{{ d.other_code }}
</small>
</td>-->
</tr>

{% endfor %}




</table>

Cruises:
<table>
<tr>
{{ cformset.management_form }}
{% for cform in cformset.forms %}

<td>
<h2>#{{ forloop.counter }}

<td>
{{ cform.other_psdid }}



{% endfor %}
</tr>
</table>

<input type="submit" value="submit matching data"></td>
</form>
